package com.xxg.renrenlogin.domain.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * token令牌登录参数
 *
 * @author xxg
 * @date 2020-09-28
 */
@Data
@ApiModel(value = "TokenLoginQuery", description = "token令牌登录参数")
public class TokenLoginQuery {
    @NotNull(message = "token不能为null")
    @ApiModelProperty(value = "令牌", required = true)
    private String token;
}
